package com.reliable.service.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.util.Date;

/**
 * XSS图片URL存储对象 xss_image
 *
 * @author ruoyi
 * @date 2025-07-09
 */
@Data
@ApiModel(value = "XSS图片URL存储对象")
@JsonInclude(JsonInclude.Include.NON_NULL)
public class ReliableImage extends BaseEntitys {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @ApiModelProperty(value = "主键", position = 0)
    private Long id;

    /**
     * 任务id
     */
    @ApiModelProperty(value = "任务id", position = 1)
    private Long taskId;

    /**
     * 图片地址oss
     */
    @ApiModelProperty(value = "图片地址oss", position = 2)
    private String imageUrl;

    /**
     * 图片类型：1.任务截图
     */
    @ApiModelProperty(value = "图片类型：1.任务截图", position = 3)
    private Long imageStatus;

    /**
     * 创建人
     */
    @ApiModelProperty(value = "创建人", position = 4)
    private Long createBy;

    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间", position = 5)
    private Date createTime;

    /**
     * 修改人
     */
    @ApiModelProperty(value = "修改人", position = 6)
    private Long updateBy;

    /**
     * 修改时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "修改时间", position = 7)
    private Date updateTime;

    /**
     * 模块逻辑删除 0.未删除 1.删除
     */
    @ApiModelProperty(value = "模块逻辑删除 0.未删除 1.删除", position = 8)
    private Integer delFlag;


    /**
     * 业务id
     */
    @TableField(exist = false)
    @ApiModelProperty(value = "业务id",position = 5)
    private String businessId;


    /**
     * 业务taskId
     */
    @TableField(exist = false)
    @ApiModelProperty(value = "业务id",position = 5)
    private String taskBusinessId;
}
